/*    */ package com.zimbra.cs.convert;
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ public class ConversionException
/*    */   extends Exception
/*    */ {
/*    */   private boolean mTemporary;
/*    */   
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   public ConversionException(String msg, Throwable t)
/*    */   {
/* 34 */     super(msg, t);
/*    */   }
/*    */   
/*    */   public ConversionException(String msg, Throwable t, boolean temp) {
/* 38 */     this(msg, t);
/* 39 */     this.mTemporary = temp;
/*    */   }
/*    */   
/*    */   public ConversionException(String msg) {
/* 43 */     super(msg);
/*    */   }
/*    */   
/*    */   public ConversionException(String msg, boolean temp) {
/* 47 */     this(msg);
/* 48 */     this.mTemporary = temp;
/*    */   }
/*    */   
/*    */   public boolean isTemporary() {
/* 52 */     return this.mTemporary;
/*    */   }
/*    */   
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */ 
/*    */   public static boolean isTemporaryCauseOf(Throwable wrapper)
/*    */   {
/* 62 */     Throwable cause = wrapper.getCause();
/* 63 */     if ((cause instanceof ConversionException)) {
/* 64 */       ConversionException convEx = (ConversionException)cause;
/* 65 */       return convEx.isTemporary();
/*    */     }
/* 67 */     return false;
/*    */   }
/*    */ }


/* Location:              /home/mint/zimbrastore.jar!/com/zimbra/cs/convert/ConversionException.class
 * Java compiler version: 7 (51.0)
 * JD-Core Version:       0.7.1
 */